package com.zh.freechat.domain.message.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zh.webcommon.common.auditor.mp.SimpleEntity;
import lombok.Getter;
import lombok.Setter;


/**
 * 群组成员
 */
@Getter
@Setter
@TableName(value = "ch_group_member", autoResultMap = true)
public class GroupMemberPO extends SimpleEntity {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 群组主键ID
     */
    private Long groupId;

    private String userId;
    /**
     * 用户在群中的别名
     */
    private String aliasName;
    /**
     * 用户的Name
     */
    private String nickname;
    /**
     * 用户的头像
     */
    private String avatarUrl;
    /**
     * 用户的性别
     */
    private Integer gender;


    public GroupMemberPO() {
    }

}